-- GENERATED SPELL FOR [Shadowhide Slayer] --


function spell0_431(pUnit, Event) --@Execute,n/a--
pUnit:FullCastSpellOnTarget(7160,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_431', 0, 1)
end

function Sorts_431(pUnit, Event)
local choix_sorts_431 = math.random(0, 0)
if choix_sorts_431 == 0 then
pUnit:RegisterEvent('spell0_431', 1, 1)
end
end

function mob431_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_431', math.random(1500, 3000), 1)
end

function mob431_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob431_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob431_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(431, 1, 'mob431_Action')
RegisterUnitEvent(431, 2, 'mob431_Leave')
RegisterUnitEvent(431, 3, 'mob431_Kill')
RegisterUnitEvent(431, 4, 'mob431_Die')
